import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入饿了么UI
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import axios from './axios'
/*//设置反向代理，前端请求默认发送到
var axios =require('axios')
axios.defaults.baseURL= 'http://localhost:'*/
require('./mock.js')

Vue.prototype.$axios = axios;
Vue.config.productionTip = false
Vue.use(Element)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
